#include <iostream>
using namespace std;
int a[3] = { 1,2,3 };
int shuzu(int b[3])
{
	int i,m;
	for (i = 0; i <= 2; i++)
	{
		if (a[i] < a[i + 1])
			m = a[i + 1];
		else
		{
			m = a[i];
		}
		
	}
	cout << m;
	return(0);
}
int main() {
	shuzu(a);
	
}